package org.dna.mybatis.criteria;

import java.io.Serializable;
import java.util.Date;

/**
 * Simple entity bean to test criteria API
 * */
public class Activity {

    private int id = 0;
    private String name;
    private String description;
    private Date estimatedStart = new Date();

    public Activity(String name, String description) {
        this.name = name;
        this.description = description;
    }

    public Activity() {
    }

    public int getId() {
        return id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setEstimatedStart(Date estimatedStart) {
        this.estimatedStart = estimatedStart;
    }

    public Date getEstimatedStart() {
        return estimatedStart;
    }
}
